//
//  XDownloadModel.h
//  DownloaderTest
//
//  Created by user on 2018/6/13.
//  Copyright © 2018年 Dnake. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface XDownloadModel : NSObject

/** URL地址 */
@property (nonatomic, copy) NSString *url;

/** 文件名 */
@property (nonatomic, copy) NSString *fileName;

/** 下载数据 */
@property (nonatomic, copy) NSData *resumeData;

/** 下载进度 */
@property (nonatomic, assign) CGFloat progress;

/** 下载完成路径 */
@property (nonatomic, copy) NSString *filePath;

@property (nonatomic, strong) NSURLSessionDownloadTask *task;

@end
